﻿#region Using directives
using System;
using System.Web.UI;

#endregion

namespace ProcolDemo {
    public partial class ChangePassword : Page {
        protected void Page_Load(object sender, EventArgs e) {
            if (!Common.IsUserLoggedIn(Session))
                Response.Redirect("Default.aspx");

            Common.FillI18NStrings(this, Session);

            int uidSession = Common.GetUserId(Session);
            int uidRequest = Common.GetUserId(Request);
            myprofile.HRef = String.Format("ViewProfile.aspx?Uid={0}", uidSession);
            myprofile2.HRef = String.Format("ViewProfile.aspx?Uid={0}", uidSession);
        }
    }
}